<template>
  <div class="app">
    <div class="box">
      <img :src="arr.dogImgUrl" alt="" />
      <p>{{ arr.dogName }}</p>
    </div>
  </div>
</template>

<script>
export default {
  props: ["arr"],
};
</script>

<style scoped>
.app {
  display: inline-block;
}
.box {
  width: 300px;
  height: 300px;
  border: 1px solid #111;
  margin: 10px;
}
img {
  width: 100%;
  height: 100%;
}
p {
  text-align: center;
}
</style>